﻿using Shatkotha.WPF.Global.Bases;
using Shatkotha.WPF.Global.Modules.Home;

namespace Shatkotha.WPF.Home.Views
{
    /// <summary>
    /// Interaction logic for HeaderView.xaml
    /// </summary>
    public partial class HeaderView : IHeaderView
    {
        public HeaderView()
        {
            InitializeComponent();
        }

        #region IView Members

        private IHeaderPresenter _presenter;
        public IPresenter Presenter
        {
            get
            {
                return _presenter;
            }
            set
            {
                _presenter = value as IHeaderPresenter;
                DataContext = value;
            }
        }

        #endregion
    }
}
